package com.basic.sys.dao.mapper;

import com.basic.sys.controller.req.SelectAuditingInfoParamForm;
import com.basic.sys.controller.res.SelectAllAuditByParamForm;
import com.basic.sys.controller.res.SelectAuditByIdForm;
import com.basic.sys.dao.model.AuditingInfo;
import com.basic.sys.domain.AuditingInfoBo;
import com.basic.sys.domain.PumpEquipmentBo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AuditingInfoExMapper {
    /***
     * 查询符合信息的审核信息表
     * @param auditingInfoBo 条件
     * @return
     */
    public List<SelectAllAuditByParamForm> selectAll(SelectAuditingInfoParamForm auditingInfoBo);
    /***
     * 查询集合中id所对应的状态
     * @param pumpEquipmentBo 参数
     * @return
     */
    public int SelectAuditStatusByIds(PumpEquipmentBo pumpEquipmentBo);

    /***
     * 查询审核信息通过id
     * @param id 主键
     * @return
     */
    public SelectAuditByIdForm selectAuditInfoById(long id);
   public long CountAudit(AuditingInfoBo auditingInfoBo);
}
